package com.kc.business.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;

/**
 * TODO
 * 收/发货地址
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/10/13
 */
@Data
@Table(name = "biz_order_address")
public class BizOrderAddress {
    @Id
    private Integer addressId;
    /** 姓名 */
    @NotBlank(message = "姓名不能为空")
    private String name;
    /** 电话 */
    @NotBlank(message = "电话不能为空")
    private String mobile;
    /** 地址 */
    @NotBlank(message = "地址不能为空")
    private String address;
    /** 状态0未使用1使用中 */
    private String status;
}
